﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!DOCTYPE html>

<html>
  <head runat="server">
    <meta name="viewport" content="width=device-width" />
    <title>Welcome To AES</title>
    <link href="/Theme/UncleBobTheme.css" rel="Stylesheet" />
  </head>
<body>
    <!-- Header -->
    <h2>AES Hiring System</h2>
    <h4>To begin, "Login" to your account, or "Register" a new one</h4>

    <div class="body">
        <form id="Form1" runat="server" action="/Welcome/FormAction">
            <div class="box">
                <!-- Username & Password field -->
                <div class="content">
                    <div>
                        <div>
                            Username:<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
                                ControlToValidate="txtName" ErrorMessage="Username is required." class="validation"> *
                            </asp:RequiredFieldValidator>
                        </div>
                        <input type="text" runat="server" id="txtName" style="width: 250px" />
                    </div>
                    <div>
                        <div>
                            Password:
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPWord"
                                ErrorMessage="Password is required." class="validation"> *
                            </asp:RequiredFieldValidator>
                        </div>
                        <input type="password" runat="server" id="txtPWord" style="width: 250px" />
                    </div>
                </div>
            </div>

            <!-- Buttons -->
            <div style="margin-top: 30px">
                <input class="button" type="submit" runat="server" id="cmdSubmit" name="submit" value="Login" />
                <input class="button" type="submit" id="cmdRegister" name="register" value="Register" />
            </div>

            <!-- Display validation summary -->
            <br />
            <div class="content">
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" HeaderText="There were errors on the page:"
                    class="error-summary" />
            </div>
        </form>
    </div>
</body>
  
</html>
